//
//  YMSource.swift
//  YMSwiftUI
//
//  Created by anscen on 2022/3/31.
//

import UIKit

struct YMSource: HandyJSON,Hashable {
    var sourceId    :String       = ""
    var name        :String       = ""
    var host        :String       = ""
    var link        :String       = ""
    var lastChapter :String       = ""
    var chaptersCount:Int         = 0
    
    mutating func mapping(mapper: HelpingMapper) {
         mapper <<< self.sourceId     <-- ["sourceId","_id"]
    }
}
